package com.shop.cereshop.business.dao.business;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.cereshop.commons.domain.business.CereBusinessAdviceTrack;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CereBusinessAdviceTrackDAO extends BaseMapper<CereBusinessAdviceTrack> {
    /**
     * 根据建议ID和商家ID查询完成情况
     * @param adviceId 建议ID
     * @param shopId 商家ID
     * @return 经营建议完成情况实体
     */
    CereBusinessAdviceTrack selectByAdviceIdAndShopId(@Param("adviceId") Long adviceId, @Param("shopId") Long shopId);
}